home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_10_07
/
1007044a
< prev
next >
Wrap
Text File
|
1992-03-31
|
1KB
|
45 lines
/* Listing 2 */
/*****************************************************
Name: SQLPPROC.H
Description: Associated Include file for
SQL_PROC.C. Contains prototypes
and constants.
Portability: Standard C or MS Windows with
db_Vista and db_Query Librarys.
*****************************************************/
#if !defined ( SQL_PROC_DEFINED )
/* Manifest Constants */
#define SQL_NAME_LEN 15
#define SQL_DESCRIPTION_LEN 63
#define SQL_COMMAND_LEN 423
#define SQL_MAX_COLUMNS 24
#if defined( _DEBUG ) && !defined( MAXERRMSGTXT )
#define MAXERRMSGTXT 80
#endif
#if !defined ( FAIL )
#define FAIL -1
#endif
#if !defined ( SUCCESS )
#define SUCCESS 0
#endif
#if !defined ( TRUE )
#define TRUE 1
#endif
#define SQL_PROC_DEFINED
/* Prototypes for funcitons in SQL_PROC.C */
int sqlproc_del( char *Name );
int sqlproc_exec( char *Name, ... );
int sqlproc_fetch_dev( FILE *Dev );
char *sqlproc_fetch_str( void );
int sqlproc_find( char *Name );
int sqlproc_mod( char *Name, char *Description,
char *Command );
int sqlproc_retrv( char *Name,
struct sql_proc *SqlProc );
int sqlproc_store( char *Name, char *Description,
char *Command );
#endif
/* End of File */